﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IceCS.DesignPattern.Core.StrategyPattern.ShopStrategy
{
    public static class CashStrategy
    {
        public static CashNormal GetCashNormal() => new CashNormal();

        public static CashRebate GetCashRebate(decimal moneyRebate) => new CashRebate(moneyRebate);

        public static CashReturn GetCashReturn(decimal moneyCondition, decimal moneyReturn) =>
            new CashReturn(moneyCondition, moneyReturn);
    }
}
